package com.gxa.weixing.pc.mapper;

import com.gxa.weixing.core.pojo.BalanceLog;
import com.gxa.weixing.core.pojo.User;
import tk.mybatis.mapper.common.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

/**
 * @Author  lirucong
 * @Date 11:01 2022/1/6
 */
public interface UserMapper extends Mapper<User> {

    /**
     *根据条件分页查询
     */
    List<User> getByPage(String code, String nickName, Date startTime, Date endTime,Integer offset, Integer limit);

    /**
     *分页查询用户提现的记录
     */
    List<Map<String,Object>> getWithdrawLog(Map<String,Object> map);

    /**
     *修改余额的审核记录
     */
    Integer updateBalanceLog(BalanceLog balanceLog);


}
